require 'tjplurker'
include TJP

# Initialize a robot and audologin
robot = Robot.new(CONSUMER_KEY, CONSUMER_SECRETE, ACCESS_TOKEN, ACCESS_TOKEN_SECRET)

# Initialize an echo service
service_echo = Service.new{|tjp, data|
	tjp.response_add(data.plurk_id, data.content)
}

# Add the service into your robot
robot.add_service(service_echo)

# Start the robot
robot.start